package com.benbi.shequapi.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
public class Clockin {
    private int w_pid;
    private String form_addr;
    private String business;
    private Date create_time;
    private String remark;

    public Clockin(){
    }

    public Clockin(int w_pid,String form_addr,String business,Date create_time,String remark){
        this.w_pid=w_pid;
        this.form_addr=form_addr;
        this.business=business;
        this.create_time=create_time;
        this.remark=remark;
    }
    //getFunction
    public int getW_pid(){return w_pid;}
    public String getForm_addr(){return form_addr;}
    public String getBusiness(){return business;}
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    public Date getCreate_time(){return create_time;}
    public String getRemark(){return remark;}

    //setFunction
    public void setW_pid(int w_pid){this.w_pid=w_pid;}
    public void setForm_addr(String form_addr){this.form_addr=form_addr;}
    public void setBusiness(String business){this.business=business;}
    public void setCreate_time(Date create_time){this.create_time=create_time;}
    public void setRemark(String remark){this.remark=remark;}
}

